package com.ssy.lingxi.member.merchant.repository;


import com.ssy.lingxi.member.merchant.entity.RoleTypeDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * 业务平台 - 角色类型操作JpaRepository
 * @author 万宁
 * @version 2.0.0
 * @date 2020-06-13
 */
@Repository
public interface RoleTypeRepository extends JpaRepository<RoleTypeDO,Long>, JpaSpecificationExecutor<RoleTypeDO> {
    RoleTypeDO findFirstByTypeEnum(int typeEnum);
}
